﻿using UnityEngine;
using System.Collections;

public class roomPlaneScript : MonoBehaviour {
	
	public TextMesh nameTx;
	PlayerObject data;
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	public void updatePlane(bool Active)
	{
		gameObject.SetActive(Active);
	}
	
	public void updatePlane(string name)
	{
		gameObject.SetActive(true);
		nameTx.text = name;
	}
}
